package com.atguigu.system.constant;


public enum SysMenuTypeEnum {

    DIRECTORY(0,"目录"),
    MENU(1,"菜单"),
    BUTTON(2,"按钮"),
    ;

    private Integer code;
    private String desc;

    SysMenuTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }
}
